[INFO] cloning repository https://github.com/Hackzzila/softsw
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hackzzila/softsw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackzzila%2Fsoftsw", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackzzila%2Fsoftsw'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e0417c473f44df99666c96f1d2183851acb09e9
[INFO] fixing Hackzzila/softsw against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackzzila%2Fsoftsw" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/Hackzzila/softsw
[INFO] finished tweaking git repo https://github.com/Hackzzila/softsw
[INFO] tweaked toml for git repo https://github.com/Hackzzila/softsw written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Hackzzila/softsw on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Hackzzila/softsw already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded riscv-types v0.1.0
[INFO] [stderr]   Downloaded riscv-macros v0.4.0
[INFO] [stderr]   Downloaded pci_types v0.10.1
[INFO] [stderr]   Downloaded riscv v0.16.0
[INFO] [stderr]   Downloaded riscv-rt v0.17.1
[INFO] [stderr]   Downloaded embedded-alloc v0.7.0
[INFO] [stderr]   Downloaded fdt v0.1.5
[INFO] [stderr]   Downloaded rlsf v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f
[INFO] running `Command { std: "docker" "start" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling riscv-target-parser v0.1.3
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]     Checking riscv-types v0.1.0
[INFO] [stderr]     Checking const-default v1.0.0
[INFO] [stderr]    Compiling softsw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking linked_list_allocator v0.10.5
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking fdt v0.1.5
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking pci_types v0.10.1
[INFO] [stderr]    Compiling riscv-rt v0.17.1
[INFO] [stderr]    Compiling svgbobdoc v0.3.0
[INFO] [stderr]     Checking rlsf v0.2.2
[INFO] [stderr]     Checking embedded-alloc v0.7.0
[INFO] [stderr]    Compiling riscv-macros v0.4.0
[INFO] [stderr]    Compiling riscv-rt-macros v0.6.1
[INFO] [stderr]     Checking riscv v0.16.0
[INFO] [stdout] error[E0425]: cannot find value `arg1` in this scope
[INFO] [stdout]    --> src/main.rs:370:49
[INFO] [stdout]     |
[INFO] [stdout] 370 |             let _ = (extension, function, arg0, arg1);
[INFO] [stdout]     |                                                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 370 -             let _ = (extension, function, arg0, arg1);
[INFO] [stdout] 370 +             let _ = (extension, function, arg0, arg0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `asm` and `global_asm`
[INFO] [stdout]    --> src/main.rs:344:18
[INFO] [stdout]     |
[INFO] [stdout] 344 | use core::arch::{asm, global_asm};
[INFO] [stdout]     |                  ^^^  ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:374:5
[INFO] [stdout]     |
[INFO] [stdout] 358 | /     match () {
[INFO] [stdout] 359 | |         #[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
[INFO] [stdout] 360 | |         () => unsafe {
[INFO] [stdout] 361 | |             asm!(
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |     };
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 374 |       SbiRet { error, value }
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:396:5
[INFO] [stdout]     |
[INFO] [stdout] 380 | /     match () {
[INFO] [stdout] 381 | |         #[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
[INFO] [stdout] 382 | |         () => unsafe {
[INFO] [stdout] 383 | |             asm!(
[INFO] [stdout] ...   |
[INFO] [stdout] 395 | |     };
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 396 |       SbiRet { error, value }
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:418:5
[INFO] [stdout]     |
[INFO] [stdout] 402 | /     match () {
[INFO] [stdout] 403 | |         #[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
[INFO] [stdout] 404 | |         () => unsafe {
[INFO] [stdout] 405 | |             asm!(
[INFO] [stdout] ...   |
[INFO] [stdout] 417 | |     };
[INFO] [stdout]     | |_____- any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout] 418 |       SbiRet { error, value }
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trap_frame`
[INFO] [stdout]   --> src/main.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn ExceptionHandler(trap_frame: &mut riscv_rt::TrapFrame) {
[INFO] [stdout]    |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trap_frame`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `riscv::register::sip::clear_pending` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     riscv::register::sip::clear_pending(Interrupt::SupervisorTimer);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/main.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | unsafe fn custom_interrupt_handler() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:170:25
[INFO] [stdout]     |
[INFO] [stdout] 170 |                     let mut endpoint = EndpointHeader::from_header(header, &cfg_reader).unwrap();
[INFO] [stdout]     |                         ----^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hartid`
[INFO] [stdout]   --> src/main.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main(hartid: usize, dtb_ptr: usize) -> ! {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hartid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/main.rs:379:10
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let (error, value);
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/main.rs:379:17
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let (error, value);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg2`
[INFO] [stdout]    --> src/main.rs:400:76
[INFO] [stdout]     |
[INFO] [stdout] 400 | fn sbi_call_3(extension: usize, function: usize, arg0: usize, arg1: usize, arg2: usize) -> SbiRet {
[INFO] [stdout]     |                                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_arg2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/main.rs:401:10
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let (error, value);
[INFO] [stdout]     |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/main.rs:401:17
[INFO] [stdout]     |
[INFO] [stdout] 401 |     let (error, value);
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `softsw` (bin "softsw") due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f", kill_on_drop: false }`
[INFO] [stdout] 2c1cf111ea004b0b6302e209bb67ee126fb006bd81db9881f4863d98c2831f9f
